package com.njts.bean;

public class Class { //班级表
    private int id; // 班级序号
    private String name; // 班级名称
    private float classFees; // 班费 一个班只有一个班费
    private int personCount; // 班级人数

    public int getPersonCount() {
        return personCount;
    }

    public void setPersonCount(int personCount) {
        this.personCount = personCount;
    }

    public float getClassFees() {
        return classFees;
    }

    public void setClassFees(float classFees) {
        this.classFees = classFees;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Class{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", classFees=" + classFees +
                ", personCount=" + personCount +
                '}';
    }
}
